//
//  BBControllerViewModel.m
//  BBKit
//
//  Created by apple on 2019/6/28.
//  Copyright © 2019年 baobao. All rights reserved.
//

#import "BBControllerViewModel.h"


#define BBKIT_SETPRAGRA_CONTROLLER_API(methodName, paraType)    BBKIT_SETPRAGRA_API(methodName,paraType, UIControl, BBControllerViewModel*)

@implementation BBControllerViewModel

BBKIT_SETPRAGRA_CONTROLLER_API(enabled, BOOL);
BBKIT_SETPRAGRA_CONTROLLER_API(selected, BOOL);
BBKIT_SETPRAGRA_CONTROLLER_API(highlighted, BOOL);

//- (BBControllerViewModel *(^)(UIControlEvents controlEvents, void (^eventBlock)(id sender)))eventBlock
//{
//    return ^BBControllerViewModel *(UIControlEvents controlEvents, void (^eventBlock)(id sender)) {
//        [(UIControl *)self.view addControlEvents:controlEvents handler:eventBlock];
//        return self;
//    };
//}

BBKIT_SETPRAGRA_CONTROLLER_API(contentVerticalAlignment, UIControlContentVerticalAlignment);
BBKIT_SETPRAGRA_CONTROLLER_API(contentHorizontalAlignment, UIControlContentHorizontalAlignment);

@end
